Fireworks Article

Creating a Layout with Fireworks MX 2004 and Dreamweaver MX 2004


Table of Contents

  1. Introduction

Creating the Ultraweaver Design

  1. Creating the Ultraweaver Design
  2. Creating the Shape Outline
  3. Adding Content Areas
  4. Fills and Effects - Adding Shadow and Color Fill
  5. Fills and Effects - Adding the Glass Effects

Slicing and Exporting Fireworks HTML

  1. Slicing
  2. Exporting Fireworks HTML

Importing and Editing Fireworks HTML in Dreamweaver

  1. Create a new Site definition
  2. Creating a new HTML page and importing the Fireworks HTML
  3. Removing sliced images
  4. Removing Nested Tables
  5. Tiling Images

Exporting Fireworks HTML

  1. Open the file interface.png.
  2. Go to the main menu and select File > Export
  3. The Export dialog box appears. Create a new folder (in any directory you wish) and name it site.
  4. Create another folder inside the site folder and name it assets.

    The Export dialog box

    Figure 39. The Export dialog box

As you can see from Figure 39 above, you have several options to choose from.

In the Export dialog box, set the following properties.

  1. Filename: layout.htm
  2. Save as type: HTML and Images.
  3. HTML: Export HTML File
  4. Slices: Export Slices
  5. Check the box to Include areas without slices.
  6. Check the box to Put images in subfolder.

Click the Options button. The HTML Setup dialog box appears.

  1. Select the Table tab.
  2. Change the Space with pop-up menu to Nested tables, no spacers.
  3. Click OK.

    The HTML Setup dialog box

    Figure 40. The HTML Setup dialog box

The HTML Setup will export the Fireworks HTML as nested tables with no spacers. I find that using this option when exporting layouts as nested tables makes editing in Dreamweaver much easier. The "Editing in Dreamweaver" section later in this article will explain this a bit further. For now, go ahead and save the Fireworks HTML in the assets folder you created and save the interface.png file.

In this section, you sliced and exported the interface.png file as Fireworks HTML. I probably posed more questions then answers, but you need not worry. The next section, Importing and Editing Fireworks HTML in Dreamweaver, will hopefully answer the questions you may have about slicing.